package com.chunxiadong.mapper;

import com.chunxiadong.entity.FriendLink;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @auther QiuShangcheng
 * @create 2021/6/8
 */
@Mapper
@Repository
public interface FriendLinkMapper {
    FriendLink queryFriendLinkByBlogAddr(String blogAddr);

    int addFriendLink(FriendLink friendLink);

    FriendLink queryFriendLinkById(Integer id);

    int updateFriendLink(FriendLink friendLink);

    List<FriendLink> getAllFriendLink();

    int deleteFriendLinkById(Integer id);
}
